import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

// const _import_ = file => () => import('components/' + file + '.vue')
const _import_ = file => () => import('../pages/' + file + '.vue')

const router = new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      component: _import_('list'),
    }
  ]
})

export default router